from zope.interface import Interface

from Products.Five.browser import BrowserView
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile

class ITestView(Interface):
     pass


class TestView(BrowserView):
     def test(self,cond,trueval,falseval):
         if cond: 
            return trueval
         return falseval
